using Produce.Application.DTO.Input;
using Produce.Application.DTO.Output;
using Produce.Domain.Entities;
using Produce.Result;
using System.Collections.Generic;

namespace Produce.Application.Services
{
    public interface IProduceModelAppService
    {
        /// <summary>
        /// 添加工单
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> AddWorkorder(AddWorkorderInput input);

        /// <summary>
        /// 获取工单
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiPaging<WorkorderOutput> GetWorkOrder(GetWorkorderInput input);

        /// <summary>
        /// 修改工单
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> UploadWorkorder(UpdateWorkorderInput input);
         
        /// <summary>
        /// 删除工单
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ApiResult<int> DeleteWorkorder(long id);

       

    }
}